package JBL.apps.firstapp;

import android.os.Bundle;
import android.app.Activity;
import android.util.Log;
import android.view.Menu;
import android.view.MenuItem;
import android.support.v4.app.NavUtils;

public class MainActivity extends Activity {

    private static final String TAG = "MainActivity";

	@Override
    public void onCreate(Bundle savedInstanceState) {
        
		Log.i(TAG, "onCreate() method , MyFirstApp's MainActivity");
    	
        
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
    
        //forceError();
	}
	
	public void forceError() {
		if(true){
			throw new Error("Whoops!");
		}
	}

    @Override
    public boolean onCreateOptionsMenu(Menu menu) {
        getMenuInflater().inflate(R.menu.activity_main, menu);
        return true;
    }

    
}
